package com.nuoniu.sibanyun.entity.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @ClassName CalculateSourceVoucherUpdateBo
 * @Description TODO
 * @Authpr baiqiang
 * @Date 2021/1/11 16:02
 **/
@Data
@ApiModel("单据主表执行情况计算更新BO")
public class CalculateSourceVoucherUpdateBo {

    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("要更新的表名")
    private String tableName;
    @ApiModelProperty("租户ID")
    private Integer companyId;
    @ApiModelProperty("当前账套ID")
    private Integer currentAccountId;
    @ApiModelProperty("累计执行数量")
    private BigDecimal cumExecuteQuantity;
    @ApiModelProperty(value = "累计退货数量（普通退货 + 冲抵数量）")
    private BigDecimal cumRetQuantity;
    @ApiModelProperty("单据状态")
    private Integer voucherState;
    @ApiModelProperty("生单状态")
    private Integer releaseState;
    @ApiModelProperty("关闭状态")
    private Integer closedState;
    @ApiModelProperty(value = "累计开票数量")
    private BigDecimal cumInvoiceQuantity ;



}
